package lab02.Test05;

/**
 * Created by lenovo on 2017/10/15.
 */
public class Cube {
    float length;
    float width;
    float height;

    public Cube() {
    }

    public void setValue(float height, float length, float width) {
        this.height = height;
        this.length = length;
        this.width = width;
    }
    public float getCube(){
        float cube=length*width*height;
        return cube;
    }
}
